1.Functional Description
1.1Purpose
Retrieve the appropriate Vertex GeoCodes based on what you are processing.
1.2Setup Notes and Prerequisites
1.3Special Logic
This NER should not be called if Vertex is not active.
2.Technical Specifications
2.4Processing
//
// CONTRACT LOGIC
//
If BF cCallingModule_EV01 is equal to "1"
//
// Validate Tax Rate Area passed in
//
Validate GeoCode and Tax Rate Area
If VA evt_cBillablesCodeIsValid_EV01 is equal to "1"
//
// Tax Rate Area is a GeoCode - Vertex is being used
//
If BF szHeaderBUTaxRateArea_TXA1 is equal to
Or BF szHeaderBUTaxRateArea_TXA1 is equal to
Gets All Business Unit Master Information from the F0006
BF szHeaderBusinessUnit_MCU -> szCostCenter
BF szHeaderBUTaxRateArea_TXA1 <- szTaxArea1
If VA evt_mnHeaderBUABNum_AN8 is not equal to
And VA evt_mnHeaderBUABNum_AN8 is not equal to
And VA evt_mnHeaderBUABNum_AN8 is not equal to
SupplerMaster-MBF
"I" -> cActionCode
"
"
VA evt_mnHeaderBUABNum_AN8 -> mnAddressNumber
End If
End If
End If
//
// Validate Header Business Unit Tax Rate Area
//
Validate GeoCode and Tax Rate Area
If VA evt_cBillablesCodeIsValid_EV01 is equal to "1"
//
// Validate Detail Business Unit Tax Rate Area
//
If BF szHeaderBusinessUnit_MCU is not equal to BF szDetailBusinessUnit_MCU
If BF szDetailBUTaxRateArea_TXA1 is equal to
Or BF szDetailBUTaxRateArea_TXA1 is equal to
Gets All Business Unit Master Information from the F0006
BF szDetailBusinessUnit_MCU -> szCostCenter
VA evt_mnDetailBUABNum_AN8 <- mnAddressNumber
BF szDetailBUTaxRateArea_TXA1 <- szTaxArea1
BF szDetailBUTaxExplCode_EXR1 <- szTaxExplanationCode1
If BF szDetailBUTaxRateArea_TXA1 is equal to
Or BF szDetailBUTaxRateArea_TXA1 is equal to
If VA evt_mnDetailBUABNum_AN8 is not equal to
And VA evt_mnDetailBUABNum_AN8 is not equal to
And VA evt_mnDetailBUABNum_AN8 is not equal to
SupplerMaster-MBF
"I" -> cActionCode
"
"
BF szDetailBUTaxRateArea_TXA1 <- szTaxArea2
BF szDetailBUTaxExplCode_EXR1 <- szTaxExemptReason2
VA evt_mnDetailBUABNum_AN8 -> mnAddressNumber
End If
End If
End If
// Validate Detail Branch Plant Info
Validate GeoCode and Tax Rate Area
Else
BF szDetailBUTaxExplCode_EXR1 = BF szHeaderBUTaxExplCode_EXR1
BF szDetailBUTaxRateArea_TXA1 = BF szHeaderBUTaxRateArea_TXA1
End If
End If
//
// Assign GeoCodes to Data Structure
//
If VA evt_cBillablesCodeIsValid_EV01 is equal to "1"
BF szShipToBillable_VGCST = BF szTaxRateArea_TXA1
BF szShipFromBillable_VGCST = BF szDetailBUTaxRateArea_TXA1
BF szOrderAcceptBillable_VGCST = BF szHeaderBUTaxRateArea_TXA1
BF cBillableGeoCodesValid_EV01 = "1"
Else
BF szShipToBillable_VGCST = ""
BF szShipFromBillable_VGCST = ""
BF szOrderAcceptBillable_VGCST = ""
BF cBillableGeoCodesValid_EV01 = "2"
End If
Else
//
// Tax Rate Area is NOT a GeoCode - Vertex is NOT being used
//
BF cBillableGeoCodesValid_EV01 = "0"
End If
End If
//
// SERVICE ORDER LOGIC
//
If BF cCallingModule_EV01 is equal to "2"
//
// Retrieve Responsible Business Unit Tax Information for both Payables and
// Billables
//
If BF szHeaderBUTaxRateArea_TXA1 is equal to
Or BF szHeaderBUTaxRateArea_TXA1 is equal to
Gets All Business Unit Master Information from the F0006
BF szHeaderBusinessUnit_MCU -> szCostCenter
VA evt_mnHeaderBUABNum_AN8 <- mnAddressNumber
BF szHeaderBUTaxRateArea_TXA1 <- szTaxArea1
BF szHeaderBUTaxExplCode_EXR1 <- szTaxExplanationCode1
If BF szHeaderBUTaxRateArea_TXA1 is equal to
Or BF szHeaderBUTaxRateArea_TXA1 is equal to
If VA evt_mnHeaderBUABNum_AN8 is not equal to
And VA evt_mnHeaderBUABNum_AN8 is not equal to
And VA evt_mnHeaderBUABNum_AN8 is not equal to
SupplerMaster-MBF
"I" -> cActionCode
"
"
BF szHeaderBUTaxRateArea_TXA1 <- szTaxArea2
BF szHeaderBUTaxExplCode_EXR1 <- szTaxExemptReason2
VA evt_mnHeaderBUABNum_AN8 -> mnAddressNumber
End If
End If
End If
// Validate Header Branch Plant
Validate GeoCode and Tax Rate Area
//
// Retrieve GeoCodes for Billables
//
If BF cBillableOrPayable_EV01 is equal to "1"
Or BF cBillableOrPayable_EV01 is equal to "3"
Validate GeoCode and Tax Rate Area
// Tax Rate Area is a GeoCode - Vertex is being used
//
If VA evt_cBUCodeIsValid_EV01 is equal to "1"
BF szShipToBillable_VGCST = BF szTaxRateArea_TXA1
BF szShipFromBillable_VGCST = BF szHeaderBUTaxRateArea_TXA1
BF szOrderAcceptBillable_VGCST = BF szHeaderBUTaxRateArea_TXA1
BF cBillableGeoCodesValid_EV01 = "1"
Else
BF szShipToBillable_VGCST = ""
BF szShipFromBillable_VGCST = ""
BF szOrderAcceptBillable_VGCST = ""
BF cBillableGeoCodesValid_EV01 = "2"
End If
Else
//
// Tax Rate Area is NOT a GeoCode - Vertex is NOT being used
//
BF cBillableGeoCodesValid_EV01 = "0"
End If
End If
//
// Retrieve GeoCodes for Payables
//
If BF cBillableOrPayable_EV01 is equal to "2"
Or BF cBillableOrPayable_EV01 is equal to "3"
If BF szSuppliersTaxRateArea_TXA1 is equal to
Or BF szSuppliersTaxRateArea_TXA1 is equal to
If BF mnSupplierABNumber_AN8 is not equal to
And BF mnSupplierABNumber_AN8 is not equal to
And BF mnSupplierABNumber_AN8 is not equal to
SupplerMaster-MBF
"I" -> cActionCode
"
"
BF szHeaderBUTaxRateArea_TXA1 <- szTaxArea2
BF szHeaderBUTaxExplCode_EXR1 <- szTaxExemptReason2
VA evt_mnHeaderBUABNum_AN8 -> mnAddressNumber
End If
End If
// Validate Suppliers Tax Information
Validate GeoCode and Tax Rate Area
If VA evt_cPayablesCodeIsValid_EV01 is equal to "1"
//
// Suppliers Tax Rate Area is a GeoCode - Vertex is being used
//
If VA evt_cBUCodeIsValid_EV01 is equal to "1"
BF szShipToBillable_VGCST = BF szHeaderBUTaxRateArea_TXA1
BF szShipFromBillable_VGCST = BF szSuppliersTaxRateArea_TXA1
BF szOrderAcceptBillable_VGCST = BF szHeaderBUTaxRateArea_TXA1
BF cPayableGeoCodesValid_EV01 = "1"
Else
BF szShipToBillable_VGCST = ""
BF szShipFromBillable_VGCST = ""
BF szOrderAcceptBillable_VGCST = ""
BF cPayableGeoCodesValid_EV01 = "2"
End If
Else
//
// Vertex is NOT being used for Payables
//
BF cPayableGeoCodesValid_EV01 = "0"
End If
End If
End If
D1701500 - S/WM Retrieve Vertex GeoCodes
This NER (N1701500) should be called only if the "VertexIsActiveFlag" flag is equal to "1".
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cCallingModule_EV01 | EV01 | char | REQ | INPUT |
1 = Contracts
| ||||
cBillableOrPayable_EV01 | EV01 | char | REQ | INPUT |
1 = Retrieve GeoCode for Billables only
| ||||
szTaxRateArea_TXA1 | TXA1 | char | REQ | INPUT |
This should be the Tax Rate Area that is on the actual record being processed.
| ||||
szHeaderBUTaxRateArea_TXA1 | TXA1 | char | OPT | BOTH |
If the Tax Rate Area for the Header Business Unit has already been retrieved, pass the information in
| ||||
szDetailBUTaxRateArea_TXA1 | TXA1 | char | OPT | BOTH |
If the Tax Rate Area for the Detail Business Unit has already been retrieved, pass the information in
| ||||
szSuppliersTaxRateArea_TXA1 | TXA1 | char | OPT | BOTH |
If the Tax Rate Area for the Supplier has already been retrieved, pass the information in so that the
| ||||
cVertexIsActiveFlag_VVTX | VVTX | char | REQ | INPUT |
1 = Vertex is Active
| ||||
szTaxExplanationCode_EXR1 | EXR1 | char | REQ | INPUT |
This should be the Tax Explanation Code that is on the actual record being processed.
| ||||
szHeaderBUTaxExplCode_EXR1 | EXR1 | char | OPT | BOTH |
If the Tax Explanation Code for the Header Business Unit has already been retrieved, pass the
| ||||
szDetailBUTaxExplCode_EXR1 | EXR1 | char | OPT | BOTH |
If the Tax Explanation Code for the Detail Business Unit has already been retrieved, pass the
| ||||
szSuppliersTaxExplCode_EXR1 | EXR1 | char | OPT | BOTH |
If the Tax Explanation Code for the Supplier has already been retrieved, pass the information in so
| ||||
cSuppressErrorMessage_SUPPS | SUPPS | char | OPT | INPUT |
1 = Suppress Error Messages
| ||||
szErrorMessageID_DTAI | DTAI | char | OPT | OUTPUT |
Currently not being used.
| ||||
szHeaderBusinessUnit_MCU | MCU | char | OPT | INPUT |
Contracts = Business Unit within F1720
| ||||
szDetailBusinessUnit_MCU | MCU | char | OPT | INPUT |
Contracts = Business Unit within F1721
| ||||
szShipFromBillable_VGCST | VGCST | char | OPT | OUTPUT |
| ||||
szShipToBillable_VGCST | VGCST | char | OPT | OUTPUT |
| ||||
szOrderAcceptBillable_VGCST | VGCST | char | OPT | OUTPUT |
| ||||
szShipFromPayable_VGCST | VGCST | char | OPT | OUTPUT |
Not applicable for Contracts.
| ||||
szShipToPayable_VGCST | VGCST | char | OPT | OUTPUT |
Not applicable for Contracts.
| ||||
szOrderAcceptPayable_VGCST | VGCST | char | OPT | OUTPUT |
Not applicable for Contracts.
| ||||
cBillableGeoCodesValid_EV01 | EV01 | char | OPT | OUTPUT |
0 = Vertex is not being used.
| ||||
cPayableGeoCodesValid_EV01 | EV01 | char | OPT | OUTPUT |
0 = Vertex is not being used.
| ||||
mnSupplierABNumber_AN8 | AN8 | MATH_NUMERIC | OPT | NONE |
Information for Supplier is needed only if calculating GeoCodes for Service Order Payables.
| ||||
szItemBalanceCat_VVIT | VVIT | char | OPT | INPUT |
Special Input Character:
| ||||
mnShortItemNumber_ITM | ITM | MATH_NUMERIC | OPT | INPUT |
Special Input Character:
| ||||
szBranchPlant_MMCU | MMCU | char | OPT | INPUT |
Special Input Character:
| ||||
mnDocumentOrderInvoice_DOCO | DOCO | MATH_NUMERIC | OPT | INPUT |
This field is currently only used for the Contracts module.
| ||||
szContractChangeNum_COCH | COCH | char | OPT | INPUT |
This field is currently only used for the Contracts module.
| ||||
cInventoryInterfaceFlag_IVI | IVI | char | OPT | INPUT |
A code that identifies the type of interface to the Inventory Management system. Valid values are:
Y The dollar or unit value of any activity
| ||||
szOrderType_DCTO | DCTO | char | OPT | INPUT |
A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has
| ||||
szLineType_LNTY | LNTY | char | OPT | INPUT |
A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as
| ||||
szVertexProductCategory_VVTC | VVTC | char | OPT | BOTH |
User defined code used in the Vertex Tax Decision Maker for products or services that are non-taxable or are at a non-stanard rate. |
None |
None |