my $idqual = 'EN'; # ISBN13
my $idval = '';
- if ($self->{compiled}->{edi_attr}->{LINEITEM_IDENT_VENDOR_NUMBER}) {
+ if ($self->{compiled}->{edi_attrs}->{LINEITEM_IDENT_VENDOR_NUMBER}) {
# See if we have a vendor-specific lineitem identifier value
$idval = $self->get_li_attr($li, 'vendor_num');
}
grep { $U->is_true($_->vendor_public) && $_->value }
@{$li->lineitem_notes};
- if ($self->{compiled}->{edi_attr}->{COPY_SPEC_CODES}) {
+ if ($self->{compiled}->{edi_attrs}->{COPY_SPEC_CODES}) {
for my $lid (@{$li->lineitem_details}) {
push(@notes, $lid->note)
if ($lid->note || '') =~ /spec code [a-zA-Z0-9_]/;
my @trimmed_notes;
- if (!@notes && $self->{compiled}->{edi_attr}->{INCLUDE_EMPTY_LI_NOTE}) {
+ if (!@notes && $self->{compiled}->{edi_attrs}->{INCLUDE_EMPTY_LI_NOTE}) {
# lineitem has no notes. Add a blank note if needed.
push(@trimmed_notes, '');